using System;
using System.Collections.Generic;
using System.Text;

namespace Dll.Essences
{
    public class Users
    {
        int id;
        int userTypeId;
        string userTypeName;
        string userName;
        string userNameLow;
        string password;
        DateTime date;
        public Users()
        {

        }

        public Users(int Id, int UserTypeID, string UserName, string Password, DateTime Date, string UserTypeName)
        {
            id = Id;
            userTypeId = UserTypeID;
            userName = UserName;
            userNameLow = UserName.ToLower();
            password = Password;
            date = Date;
            userTypeName = UserTypeName;
        }

        public int Id
        {
            get
            {
                return id;
            }
            set
            {
                id = value;
            }
        }

        public int UserTypeId
        {
            get
            {
                return userTypeId;
            }
            set
            {
                userTypeId = value;
            }
        }

        public string UserTypeName
        {
            get
            {
                return userTypeName;
            }
            set
            {
                userTypeName = value;
            }
        }

        public string UserName
        {
            get
            {
                return userName;
            }
            set
            {
                userName = value;
            }
        }

        public string Password
        {
            get
            {
                return password;
            }
            set
            {
                password = value;
            }
        }

        public DateTime Date
        {
            get
            {
                return date;
            }
            set
            {
                date = value;
            }
        }

    }
}
